ActiveReports 12
Match<T,TResult>(T,Func<TResult>) Method

GrapeCity.ActiveReports.v12 Assembly > GrapeCity.Enterprise.Data.DataEngine.Extensions Namespace > FunctionalExtensions Class > Match Method : Match<T,TResult>(T,Func<TResult>) Method
The value to be returned if all patterns failed to match.
The same as Match but type is defined
Syntax
'Declaration
 
Public Overloads Shared Function Match
    (Of T,TResult)( _
   ByVal item As T, _
   ByVal fallbackValue As Func(Of TResult) _
) As FunctionalExtensions.MatchBlock(Of T,TResult)

Parameters

item
fallbackValue
The value to be returned if all patterns failed to match.

Type Parameters

T
TResult
See Also

Reference

FunctionalExtensions Class
FunctionalExtensions Members
Overload List